package com.wkbb.common.dto.basic;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@ApiModel(value = "UserDto", description = "用户信息")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserDto implements Serializable {

    @ApiModelProperty(value = "邀请者用户ID")
    private Long inviterUserId;

    @ApiModelProperty(value = "token" )
    private String token;

    @ApiModelProperty(value = "用户ID" )
    private Long id;
    @ApiModelProperty(value = "机构ID" )
    private Long orgId;

    @ApiModelProperty(value = "名称" )
    private String name;

    @ApiModelProperty(value = "昵称" )
    private String nickName;

    @ApiModelProperty(value = "头像" )
    private String headImgUrl;

    @ApiModelProperty(value = "手机号" )
    private String mobile;

    @ApiModelProperty(value = "性别" )
    private String sex;

    @ApiModelProperty(value = "省份编码" )
    private String provinceCode;

    @ApiModelProperty(value = "省份" )
    private String province;

    @ApiModelProperty(value = "城市编码" )
    private String cityCode;

    @ApiModelProperty(value = "城市" )
    private String city;

    @ApiModelProperty(value = "区镇编码" )
    private String areaCode;

    @ApiModelProperty(value = "区镇" )
    private String area;

    @ApiModelProperty(value = "用户编号" )
    private String userCode;

    //以下属性需要根据实际业务去数据库获取
    @ApiModelProperty(value = "账户ID" )
    private Long accountId;

    @ApiModelProperty(value = "unionId" )
    private String unionId;

    @ApiModelProperty(value = "openId(废弃)" )
    private String openId;

    @ApiModelProperty(value = "企业微信ID" )
    private String corpId;

    @ApiModelProperty(value = "企业微信用户ID" )
    private String cpUserId;

    @ApiModelProperty(value = "角色类型(微信端：1教师2家长3学生4职员5游客 后端:1超管2管理员3职员)" )
    private Object roleType;
    @ApiModelProperty(value = "注册时间" )
    private Date createTime;

    @ApiModelProperty(value = "服务区域ID列表多个,分隔")
    private String serviceAreaIds;
}
